package com.freeter.modules.gjs.service;

import com.freeter.modules.gjs.entity.UsersDivisions;
import java.util.List;

public interface UsersDivisionsService {
    List<UsersDivisions> getAllUsersDivisions();
    UsersDivisions getUsersDivisionsById(Long id);
    List<UsersDivisions> getUsersDivisionsByUserId(Long userId);
    List<UsersDivisions> getUsersDivisionsByDivisionCode(String divisionCode);
    UsersDivisions getUsersDivisionsByUserAndDivision(Long userId, String divisionCode);
    UsersDivisions createUsersDivisions(UsersDivisions usersDivisions);
    UsersDivisions updateUsersDivisions(Long id, UsersDivisions usersDivisions);
    void deleteUsersDivisions(Long id);
    void deleteUsersDivisionsByUserAndDivision(Long userId, String divisionCode);
    List<UsersDivisions> getUsersDivisionsByStatus(String status);
    List<UsersDivisions> getUsersDivisionsByCondition(String name, Integer state);
} 